package com.ruoyi.cems.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.base.domain.BaseFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 应急手册;对象 bms_emergency_manual
 * 
 * @author ruoyi
 * @date 2024-06-24
 */
@Data
@ApiModel(description = "应急手册")
public class BmsEmergencyManual extends BmsBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 手册名称 */
    @Excel(name = "手册名称")
    @ApiModelProperty("手册名称")
    private String name;

    /** 适应场景 */
    @Excel(name = "适应场景")
    @ApiModelProperty("适应场景")
    private String view;

    /** 机场地址 */
    @Excel(name = "机场地址")
    @ApiModelProperty("机场地址")
    private String airportAddress;

    /** 手册归属 */
    @Excel(name = "手册归属")
    @ApiModelProperty("手册归属")
    private String belong;

    /** 版本 */
    @Excel(name = "版本")
    @ApiModelProperty("版本")
    private String version;

    /** 关键词 */
    @Excel(name = "关键词")
    @ApiModelProperty("关键词")
    private String keyword;

    /** 推送提醒 */
    @Excel(name = "推送提醒")
    @ApiModelProperty("推送提醒")
    private String pushFlag;

    /** 文件ID */
    @Excel(name = "文件ID")
    @ApiModelProperty("文件ID")
    private String fileId;
    /** 所属目录 */
    @Excel(name = "所属目录")
    @ApiModelProperty("所属目录")
    private String groupId;

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("文件")
    private BaseFile file;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("REVISION", getREVISION())
            .append("name", getName())
            .append("view", getView())
            .append("airportAddress", getAirportAddress())
            .append("belong", getBelong())
            .append("version", getVersion())
            .append("keyword", getKeyword())
            .append("pushFlag", getPushFlag())
            .append("remark", getRemark())
            .append("fileId", getFileId())
            .toString();
    }
}
